//
//  CUploadEditView.h
//  HCHK_iphone
//
//  Created by yilong zhang on 12-3-14.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "CRootCtrlManager.h"
#import "CUser.h"

@protocol UploadEditViewDelegate <NSObject>

@optional
-(void)DidUploadEditViewActived:(UIView*)view Command:(int)command Value1:(id)value1 Value2:(id)value2;

@end

@interface CUploadEditView : UIView <UITextViewDelegate, UITableViewDelegate, UITableViewDataSource, UIAlertViewDelegate>

@property (nonatomic, assign) id<UploadEditViewDelegate> delegate;

@property (nonatomic, assign) UILabel   *m_FoodName;
@property (nonatomic, assign) UITextView*m_Caption;
@property (nonatomic, assign) UITableView *m_ShareTable;
@property (nonatomic, retain) UILabel   *m_Sina;
@property (nonatomic, retain) UILabel   *m_Tx;
@property (nonatomic, assign) BOOL      m_bIsSina;
@property (nonatomic, assign) BOOL      m_bIsTx;

-(void)ReturnBtnClicked;
//-(void)SegClicked:(UISegmentedControl*)seg;
-(void)SegClicked:(UIButton*)seg;

-(void)ListenSinaSwitch:(NSNotification*)notification;
-(void)ListenTxSwitch:(NSNotification*)notification;

@end
